<%
  column =
    if update_column.is_a? ActiveScaffold::DataStructures::Column
      update_column
    else
      active_scaffold_config.columns[update_column]
    end
  @rendered ||= Set.new
  return if @rendered.include? column.name
  @rendered << column.name
-%>
<% if @record.authorized_for?(crud_type: :read, column: column.name) -%>
  ActiveScaffold.replace_html('<%= row_id %> .<%= column.name %>-column','<%= escape_javascript(render_list_column(get_column_value(@record, column), column, @record)) %>');
<% end -%>
<% if column.update_columns&.present? %>
  <%=  render(partial: 'update_column', collection: column.update_columns & active_scaffold_config.list.columns.visible_columns_names, locals: {row_id: row_id})%>
<% end %>
